/********************************************************************************
 * Copyright (c)2016-2020, ShenZhen WanJiaAn Technology CO.,LTD.
 * All Rights Reserved.
 *
 * File Name     : Color2Grey.h
 * Author        : joki.zhu
 * Date          : 2019-11-14
 *
 * Record        :
 * 1.Date        : 2019-11-14
 *   Author      : joki.zhu
 *   Modification: Created file
 ********************************************************************************/

#ifndef __COLOR2GREY_H__
#define __COLOR2GREY_H__


#ifdef __cplusplus
#if __cplusplus
extern "C"{
#endif
#endif /* __cplusplus */

typedef enum {
	NIGHT_MODE = 0,
	DAY_MODE,
	DAYNIGHT_MODE_NONE,
}DAYNIGHT_MODE_E;

typedef enum {
    IR_NIGHT_OFF = 0,
    IR_NIGHT_ON,
    IR_NIGHT_AUTO,
    IR_NIGHT_MODE_NONE,
}IR_NIGHT_MODE_E;

int Color2GreyInit(void);
DAYNIGHT_MODE_E Color2GreyGetState(void);
int Color2GreySetMode(DAYNIGHT_MODE_E enDayNightMode);
int Color2GreySetIrNightMode(IR_NIGHT_MODE_E enIrNightMode);
IR_NIGHT_MODE_E Color2GreyGetIrNightMode(void);

int Color2GreyDeinit(void);

#ifdef __cplusplus
#if __cplusplus
}
#endif
#endif /* __cplusplus */


#endif /* __COLOR2GREY_H__ */
